package com.easy.common.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.easy.common.bean.Customer;

import java.util.List;

public interface ICustomerService {

    Customer insert(Customer customer);

    Customer update(Customer customer);

    int delete(Integer id);

    Customer getById(Integer id);

    IPage<Customer> getListByPage(Page page, Customer customer);

    List<Customer> getList(Customer customer);
}
